<?php
/**
 * 测试插入Tag
 */
require_once '../settings.php';

/*require_once '../libs/class.db.php';


$dbh = new kyodb();

$tags1 = array('标签测试1', '标签测试2', '标签测试3', '标签测试4');
$tags2 = array('标签测试3');

echo $dbh->insertTags(1,$tags1);
echo $dbh->insertTags(2, $tags2);*/

/*$root_dir = dirname(dirname(dirname(__FILE__)));

echo $root_dir;*/


$dbh=new kyodb();


echo $dbh->getSum('image');

?>